package com.atguigu.spzx.manager.entity;

import java.math.BigDecimal;
import com.atguigu.spzx.common.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单项信息
 * </p>
 *
 * @author flyduck
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="OrderItem对象", description="订单项信息")
public class OrderItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "order_id")
    private Long orderId;

    @ApiModelProperty(value = "商品sku编号")
    private Long skuId;

    @ApiModelProperty(value = "商品sku名字")
    private String skuName;

    @ApiModelProperty(value = "商品sku图片")
    private String thumbImg;

    @ApiModelProperty(value = "商品sku价格")
    private BigDecimal skuPrice;

    @ApiModelProperty(value = "商品购买的数量")
    private Integer skuNum;

    @ApiModelProperty(value = "删除标记（0:不可用 1:可用）")
    private Integer isDeleted;


}
